# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauikit-texteditor
pkgver=3.0.1
pkgrel=2
pkgdesc='MauiKit Text Editor components'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(LGPL)
depends=(mauikit syntax-highlighting5)
makedepends=(extra-cmake-modules kio5)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('a68af2949dfeb9ae4f67076b4e7a26b85e9c45cdab54677255ef8351d8ef7f18')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
